﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using InformationExtraction.Common;

namespace InformationExtraction.Interface
{
    interface IFeatureExtractable
    {
        /// <summary>
        /// 抽取token对应特征向量
        /// </summary>
        /// <param name="token">带抽取token</param>
        /// <returns>特征向量</returns>
        List<int> Extract(Token token);

        /// <summary>
        /// 待抽取的信息类型
        /// </summary>
        /// <returns></returns>
        InformationType GetTargetType();
    }
}
